/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Race American Indian Paiute</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S15219 (C-0-T14914-S14915-S14916-S15219-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getRaceAmericanIndianPaiute()
 * @model extendedMetaData="name='RaceAmericanIndianPaiute'"
 * @generated
 */
public enum RaceAmericanIndianPaiute implements Enumerator {
	/**
	 * The '<em><b>14167</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14167_VALUE
	 * @generated
	 * @ordered
	 */
	_14167(0, "_14167", "1416-7"),

	/**
	 * The '<em><b>14175</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14175_VALUE
	 * @generated
	 * @ordered
	 */
	_14175(1, "_14175", "1417-5"),

	/**
	 * The '<em><b>14183</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14183_VALUE
	 * @generated
	 * @ordered
	 */
	_14183(2, "_14183", "1418-3"),

	/**
	 * The '<em><b>14191</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14191_VALUE
	 * @generated
	 * @ordered
	 */
	_14191(3, "_14191", "1419-1"),

	/**
	 * The '<em><b>14209</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14209_VALUE
	 * @generated
	 * @ordered
	 */
	_14209(4, "_14209", "1420-9"),

	/**
	 * The '<em><b>14217</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14217_VALUE
	 * @generated
	 * @ordered
	 */
	_14217(5, "_14217", "1421-7"),

	/**
	 * The '<em><b>14225</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14225_VALUE
	 * @generated
	 * @ordered
	 */
	_14225(6, "_14225", "1422-5"),

	/**
	 * The '<em><b>14233</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14233_VALUE
	 * @generated
	 * @ordered
	 */
	_14233(7, "_14233", "1423-3"),

	/**
	 * The '<em><b>14241</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14241_VALUE
	 * @generated
	 * @ordered
	 */
	_14241(8, "_14241", "1424-1"),

	/**
	 * The '<em><b>14258</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14258_VALUE
	 * @generated
	 * @ordered
	 */
	_14258(9, "_14258", "1425-8"),

	/**
	 * The '<em><b>14266</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14266_VALUE
	 * @generated
	 * @ordered
	 */
	_14266(10, "_14266", "1426-6"),

	/**
	 * The '<em><b>14274</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14274_VALUE
	 * @generated
	 * @ordered
	 */
	_14274(11, "_14274", "1427-4"),

	/**
	 * The '<em><b>14282</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14282_VALUE
	 * @generated
	 * @ordered
	 */
	_14282(12, "_14282", "1428-2"),

	/**
	 * The '<em><b>14290</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14290_VALUE
	 * @generated
	 * @ordered
	 */
	_14290(13, "_14290", "1429-0"),

	/**
	 * The '<em><b>14308</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14308_VALUE
	 * @generated
	 * @ordered
	 */
	_14308(14, "_14308", "1430-8"),

	/**
	 * The '<em><b>14316</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14316_VALUE
	 * @generated
	 * @ordered
	 */
	_14316(15, "_14316", "1431-6"),

	/**
	 * The '<em><b>14324</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14324_VALUE
	 * @generated
	 * @ordered
	 */
	_14324(16, "_14324", "1432-4"),

	/**
	 * The '<em><b>14332</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14332_VALUE
	 * @generated
	 * @ordered
	 */
	_14332(17, "_14332", "1433-2"),

	/**
	 * The '<em><b>14340</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14340_VALUE
	 * @generated
	 * @ordered
	 */
	_14340(18, "_14340", "1434-0"),

	/**
	 * The '<em><b>14357</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14357_VALUE
	 * @generated
	 * @ordered
	 */
	_14357(19, "_14357", "1435-7"),

	/**
	 * The '<em><b>14365</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14365_VALUE
	 * @generated
	 * @ordered
	 */
	_14365(20, "_14365", "1436-5"),

	/**
	 * The '<em><b>14373</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_14373_VALUE
	 * @generated
	 * @ordered
	 */
	_14373(21, "_14373", "1437-3");

	/**
	 * The '<em><b>14167</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14167</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14167
	 * @model literal="1416-7"
	 * @generated
	 * @ordered
	 */
	public static final int _14167_VALUE = 0;

	/**
	 * The '<em><b>14175</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14175</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14175
	 * @model literal="1417-5"
	 * @generated
	 * @ordered
	 */
	public static final int _14175_VALUE = 1;

	/**
	 * The '<em><b>14183</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14183</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14183
	 * @model literal="1418-3"
	 * @generated
	 * @ordered
	 */
	public static final int _14183_VALUE = 2;

	/**
	 * The '<em><b>14191</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14191</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14191
	 * @model literal="1419-1"
	 * @generated
	 * @ordered
	 */
	public static final int _14191_VALUE = 3;

	/**
	 * The '<em><b>14209</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14209</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14209
	 * @model literal="1420-9"
	 * @generated
	 * @ordered
	 */
	public static final int _14209_VALUE = 4;

	/**
	 * The '<em><b>14217</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14217</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14217
	 * @model literal="1421-7"
	 * @generated
	 * @ordered
	 */
	public static final int _14217_VALUE = 5;

	/**
	 * The '<em><b>14225</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14225</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14225
	 * @model literal="1422-5"
	 * @generated
	 * @ordered
	 */
	public static final int _14225_VALUE = 6;

	/**
	 * The '<em><b>14233</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14233</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14233
	 * @model literal="1423-3"
	 * @generated
	 * @ordered
	 */
	public static final int _14233_VALUE = 7;

	/**
	 * The '<em><b>14241</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14241</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14241
	 * @model literal="1424-1"
	 * @generated
	 * @ordered
	 */
	public static final int _14241_VALUE = 8;

	/**
	 * The '<em><b>14258</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14258</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14258
	 * @model literal="1425-8"
	 * @generated
	 * @ordered
	 */
	public static final int _14258_VALUE = 9;

	/**
	 * The '<em><b>14266</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14266</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14266
	 * @model literal="1426-6"
	 * @generated
	 * @ordered
	 */
	public static final int _14266_VALUE = 10;

	/**
	 * The '<em><b>14274</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14274</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14274
	 * @model literal="1427-4"
	 * @generated
	 * @ordered
	 */
	public static final int _14274_VALUE = 11;

	/**
	 * The '<em><b>14282</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14282</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14282
	 * @model literal="1428-2"
	 * @generated
	 * @ordered
	 */
	public static final int _14282_VALUE = 12;

	/**
	 * The '<em><b>14290</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14290</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14290
	 * @model literal="1429-0"
	 * @generated
	 * @ordered
	 */
	public static final int _14290_VALUE = 13;

	/**
	 * The '<em><b>14308</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14308</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14308
	 * @model literal="1430-8"
	 * @generated
	 * @ordered
	 */
	public static final int _14308_VALUE = 14;

	/**
	 * The '<em><b>14316</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14316</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14316
	 * @model literal="1431-6"
	 * @generated
	 * @ordered
	 */
	public static final int _14316_VALUE = 15;

	/**
	 * The '<em><b>14324</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14324</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14324
	 * @model literal="1432-4"
	 * @generated
	 * @ordered
	 */
	public static final int _14324_VALUE = 16;

	/**
	 * The '<em><b>14332</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14332</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14332
	 * @model literal="1433-2"
	 * @generated
	 * @ordered
	 */
	public static final int _14332_VALUE = 17;

	/**
	 * The '<em><b>14340</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14340</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14340
	 * @model literal="1434-0"
	 * @generated
	 * @ordered
	 */
	public static final int _14340_VALUE = 18;

	/**
	 * The '<em><b>14357</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14357</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14357
	 * @model literal="1435-7"
	 * @generated
	 * @ordered
	 */
	public static final int _14357_VALUE = 19;

	/**
	 * The '<em><b>14365</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14365</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14365
	 * @model literal="1436-5"
	 * @generated
	 * @ordered
	 */
	public static final int _14365_VALUE = 20;

	/**
	 * The '<em><b>14373</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>14373</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_14373
	 * @model literal="1437-3"
	 * @generated
	 * @ordered
	 */
	public static final int _14373_VALUE = 21;

	/**
	 * An array of all the '<em><b>Race American Indian Paiute</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final RaceAmericanIndianPaiute[] VALUES_ARRAY =
		new RaceAmericanIndianPaiute[] {
			_14167,
			_14175,
			_14183,
			_14191,
			_14209,
			_14217,
			_14225,
			_14233,
			_14241,
			_14258,
			_14266,
			_14274,
			_14282,
			_14290,
			_14308,
			_14316,
			_14324,
			_14332,
			_14340,
			_14357,
			_14365,
			_14373,
		};

	/**
	 * A public read-only list of all the '<em><b>Race American Indian Paiute</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<RaceAmericanIndianPaiute> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Race American Indian Paiute</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianPaiute get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAmericanIndianPaiute result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race American Indian Paiute</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianPaiute getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAmericanIndianPaiute result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race American Indian Paiute</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianPaiute get(int value) {
		switch (value) {
			case _14167_VALUE: return _14167;
			case _14175_VALUE: return _14175;
			case _14183_VALUE: return _14183;
			case _14191_VALUE: return _14191;
			case _14209_VALUE: return _14209;
			case _14217_VALUE: return _14217;
			case _14225_VALUE: return _14225;
			case _14233_VALUE: return _14233;
			case _14241_VALUE: return _14241;
			case _14258_VALUE: return _14258;
			case _14266_VALUE: return _14266;
			case _14274_VALUE: return _14274;
			case _14282_VALUE: return _14282;
			case _14290_VALUE: return _14290;
			case _14308_VALUE: return _14308;
			case _14316_VALUE: return _14316;
			case _14324_VALUE: return _14324;
			case _14332_VALUE: return _14332;
			case _14340_VALUE: return _14340;
			case _14357_VALUE: return _14357;
			case _14365_VALUE: return _14365;
			case _14373_VALUE: return _14373;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private RaceAmericanIndianPaiute(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //RaceAmericanIndianPaiute
